home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 440_01 / examples / examples.doc < prev    next >
Encoding:
Text File  |  1994-09-11  |  3.0 KB  |  45 lines

  1. These example programs will NOT compile under The BESTLibrary v2.32, since
  2. they were written with v2.00 of the library.  Although the functionality is
  3. the same as in v2.32, many of the function names have changed.  I have not
  4. rewritten them because they would not look any different (the output, that
  5. is), and I simply do not have the time now (with university in full session).
  6.  
  7. EXAMP001.EXE, EXAMP003.EXE, EXAMP005.EXE will work with a Hercules or CGA
  8. card.  The other example programs require a VGA card to operate properly.
  9. The source codes for each example are located in the file EXAMPLES.__C
  10.  
  11. EXAMP001.EXE - Prints a simple, common menu in text mode and waits for user
  12.                input.  Only the DOS shell and Exit options perform actual
  13.                tasks.  The other two just print messages signifying their
  14.                uselessness.
  15. EXAMP002.EXE - Prints a common menu in VGA graphics mode and waits for user
  16.                input.  The File-Load menu option enables other menu options,
  17.                as it would in a real program.  The File-New menu option
  18.                disables the menu options enabled with File-Load, as it would
  19.                in a real program.
  20. EXAMP003.EXE - The user is prompted for a string to animate around the screen
  21.                and the millisecond delay between each movement of the string.
  22.                If a mouse is detected, the left mouse button positions the
  23.                text and the right button asks for a new delay and string to
  24.                animate.
  25. EXAMP004.EXE - A little game where the object is to dodge the ever-oncoming
  26.                rocks.  The cursor pad can be used for movement, with or
  27.                without NUM LOCK active, or the right hand side of the keyboard
  28.                QWEASDZXC.  Each key corresponds respectively to the keypad's
  29.                789456123.  Again, the right hand keys work with or without
  30.                CAPS LOCK active.
  31. EXAMP005.EXE - A demonstration program showing off the mouse routines and
  32.                text output routines.  Continually displays the status of the
  33.                mouse cursor's coordinates and button states while filling the
  34.                blank areas of the screen with progressively larger ASCII
  35.                characters and then progressively smaller, in a circuit.
  36. EXAMP006.EXE - An animation demonstration, utilizing all four animation
  37.                procedures.  The first animation sequence will look strange, as
  38.                it was my first attempt at an animation procedure.  The second
  39.                is specifically designed for perfectly square objects; anything
  40.                not perfectly square will have its edges displayed (as in the
  41.                animation).  The third sequence animates any object perfectly
  42.                with NO distortion.  The disadvantage is the slowdown.  The
  43.                fourth animation moves the object one graphic row at a time, so
  44.                it is much quicker, but there is a slight flicker.
  45.